package com.gzsxy.esjy.mapping;


import io.netty.handler.codec.http.HttpMethod;

import java.util.List;

/**
 * 实体接收类
 * @author zhangxiaolong
 * @date 2022/7/6 9:36
 */
public class MappingEntity {
	/** 类 class*/
	private Class<?> clazz ; 
	/**方法名*/
	private String methodName ;
	/**类路径*/
	private String clazzPath ; 
	/**参数类型*/
	private Class<?>[] args ; 
	/**参数类型 扩充泛型 入List<Date> argsEx 记录Date的类型*/
	private Class<?>[] argsEx ; 
	/**参数名*/
	private String[] paramNames ; 
	/**参数注解名*/
	private String bodyName ; 
	/** 处理支持的请求方式*/
	private List<HttpMethod> supportMotheds ;

	public Class<?> getClazz() {
		return clazz;
	}

	public void setClazz(Class<?> clazz) {
		this.clazz = clazz;
	}

	public String getMethodName() {
		return methodName;
	}

	public void setMethodName(String methodName) {
		this.methodName = methodName;
	}

	public String getClazzPath() {
		return clazzPath;
	}

	public void setClazzPath(String clazzPath) {
		this.clazzPath = clazzPath;
	}

	public MappingEntity() {
		super();
	}

	public Class<?>[] getArgs() {
		return args;
	}

	public void setArgs(Class<?>[] args) {
		this.args = args;
	}

	public String[] getParamNames() {
		return paramNames;
	}

	public void setParamNames(String[] paramNames) {
		this.paramNames = paramNames;
	}


	public String getBodyName() {
		return bodyName;
	}

	public void setBodyName(String bodyName) {
		this.bodyName = bodyName;
	}

	public Class<?>[] getArgsEx() {
		return argsEx;
	}

	public void setArgsEx(Class<?>[] argsEx) {
		this.argsEx = argsEx;
	}

	public List<HttpMethod> getSupportMotheds() {
		return supportMotheds;
	}

	public void setSupportMotheds(List<HttpMethod> supportMotheds) {
		this.supportMotheds = supportMotheds;
	}

}
